package classes.controller
{
	import flash.events.Event;
	import flash.external.ExternalInterface;
	
	public class ESendJS extends Event
	{
		
		public static const EVENT_USERINFO:String 				= 'eventUserinfo';
		public static const EVENT_ROOMLIST:String 				= 'eventRoomlist';
		public static const EVENT_NOTICELIST:String 			= 'eventNoticelist';
		public static const EVENT_FRIENDLIST:String 			= 'eventFriendlist';
		public static const EVENT_SUBJECTINFO:String 			= 'eventSubjectinfo';
		public static const EVENT_SUBJECTLIST:String 			= 'eventSubjectlist';
		public static const EVENT_ROOMINFO:String 				= 'eventRoominfo';
		public static const EVENT_USERLIST:String 				= 'eventUserlist';
		public static const EVENT_DBLIST:String 				= 'eventDblist';
		public static const EVENT_JOINROOMSTATE:String 			= 'eventJoinroomstate';
		public static const EVENT_SETUSERSTATE:String 			= 'eventSetuserstate';
		public static const EVENT_GAMESTART:String 				= 'eventGamestart';
		public static const EVENT_QUESTIONLIST:String 			= 'eventQuestionlist';
		public static const EVENT_SETNEXTQUESTION:String 		= 'eventSetnextquestion';
		public static const EVENT_SETUSERPOSITION:String 		= 'eventSetuserposition';
		public static const EVENT_ENDGAME:String 				= 'eventEndgame';
		public static const EVENT_GAMERESULT:String 			= 'eventGameResult';
		public static const EVENT_GAMELEVEL:String				= 'eventGameLevel';
		public static const EVENT_INCORRECTQUESTIONLIST:String 	= 'eventIncorrectquestionlist';
		public static const EVENT_SINGLEUSERINFO:String 		= 'eventSingleuserinfo';
		public static const EVENT_SINGLESUBJECTINFO:String 		= 'eventSinglesubjectinfo';
		public static const EVENT_SINGLEGAMERESULT:String 		= 'eventSinglegameResult';
		public static const EVENT_INSTANCEENTER:String			= 'eventInstanceenter';
		public static const EVENT_STARTGAMECOUNT:String			= 'eventStartgamecount';
		public static const EVENT_SETSTARTBUTTON:String			= 'eventSetstartbutton';
		public static const EVENT_FAILSTART:String				= 'eventFailstart';
		
		public var _obj:Object;
		
		public function ESendJS($obj:Object, type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this._obj = $obj;
			
			super(type, bubbles, cancelable);
		}
		public override function clone():Event
		{
			return new ESendJS(_obj, type, bubbles, cancelable);
		}
		
		
	}
}